<template>
    <BaseContainer>
        <aplid-base-crud ref="crud" class="w-100" v-bind="baseConfig" :paramsObj="{headId:nowRowData.id}">
         <template #detailDialog="{row}">
            <ArchivalDetail :nowRowData="row"></ArchivalDetail>
        </template>
        </aplid-base-crud>
    </BaseContainer>
  </template>
  
  <script setup lang="ts">
  import { baseConfig} from './config'
  import ArchivalDetail from '@/views/governmentAffairs/overallTask/detailPart/archivalRecord/detail/index.vue'
  
  let props = defineProps({
      nowRowData: {
          type: Object,
          default: ()=>({})
      },
      dataId:{
        type: String,
        default: ''
      }
  }) 

  let crud = ref()
  //  处理刷新
  const handleRefresh = (query?: any) => {
      nextTick(() => {
          crud.value.refreshChange(query)
      })
  }

  
  </script>
  
  <style scoped lang="scss">

  </style>